package com.leyou.putGoods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leyou.putGoods.entity.PutGoods;
import com.leyou.putGoods.entity.PutGoodsVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cyb
 * @since 2022-07-25
 */
@Mapper
public interface PutGoodsMapper extends BaseMapper<PutGoods> {


    int savePutGood(PutGoods putGoods, List<PutGoods> putGood);

    Integer savePutGoods(@RequestParam("putGoods") List<PutGoods> putGoods);

    int updateStatu(Integer id);

    int addList(PutGoods putGoods);

    int addPid(PutGoods putGoods);
}
